﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace XZTZ.UMP.Public.Models.Base
{
    [Table("Base_AddressBook")]
    public class AddressBook
    {
        [Key]
        [DisplayName("通讯录ID")]
        public Guid guidABID { get; set; }
        [DisplayName("通讯录名称")]
        public string strABName { get; set; }
        [DisplayName("操作日期")]
        [DataType(DataType.Date)]
        public DateTime dtmOperateDate { get; set; }
        [DisplayName("备注")]
        public string strNote { get; set; }

        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        [DisplayName("索引")]
        [NotMapped]//只读
        public int intIndexNo { get; set; }
        [DisplayName("是否启用")]
        public bool blnTabooFlag { get; set; }
    }
}
